package fina2.dcs.metadata;

import java.math.BigDecimal;
import java.util.List;

import javax.ejb.Local;

@Local
public interface PeriodTypeLocal {
	public void init();

	public String addPeriodType();
	
	public String updatePeriodType();
	
	public void removePeriodType();
	
	public void remove();

	public PeriodType findByCode(String code);

	public List<PeriodType> getPeriodTypes();

	public void setPeriodTypes(List<PeriodType> periodTypes);

	public PeriodType getPeriodType();

	public void setPeriodType(PeriodType periodType);

	public String getCode();

	public void setCode(String code);

	public String getDescription();

	public void setDescription(String description);

	public boolean isSuccess();

	public void setSuccess(boolean success);
	
	public PeriodType getSelectedPerType();

	public void setSelectedPerType(PeriodType selectedPerType);

	public BigDecimal getMaxId();
}
